public class FastCounter extends CounterModel {
	private int x;
	private int oldValue;

	public FastCounter(int x) {
		this.x = x;
	}

	public void upMany() {
		for (int i = 0; i <= x; i++)
			super.increment();
	}

	public void downMany() {
		for (int i = 0; i <= x; i++)
			super.decrement();
	}

	public void reset() {
		oldValue = super.getCounter();
		super.reset();
	}

	public void unreset() {
		for (int i = 0; i <= oldValue; i++)
			super.increment();
	}
}
